<?php
	include_once("./inc_classes.php");

?><!doctype html>
<html lang="ko">
<head>
<title>ggoggoboard</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=edge;chrome=1" />
<![endif]-->
</head>
<body>
<form action="create_proc.php?p1=<?php echo isset($_GET['p1'])?$_GET['p1']:0?>" method="post">
	<table border="1">
		<colgroup>
			<col width="10%" />
			<col width="90%" />
		</colgroup>
		<thead>
			<tr>
			</tr>
		</thead>

		<tbody>
			<tr>
				<th>subject</th>
				<td><input type="text" name="subject" value="subject"/></td>
			</tr>
			<tr>
				<th>name</th>
				<td><input type="text" name="name"  value="name"/></td>
			</tr>
			<tr>
				<th>contents</th>
				<td><textarea name="contents" cols="30" rows="10"></textarea></td>
			</tr>
		</tbody>
	</table>
	<div>
		<a href="list.php?p1=<?php echo isset($_GET['p1'])?$_GET['p1']:0?>">목록</a>
		<a href="create_proc.php?p1=<?php echo isset($_GET['p1'])?$_GET['p1']:0?>">작성</a>
	</div>
</form>
</body>
</html>